<%@page import="java.util.HashMap"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <title>New Credentials Entry Page</title>
	<link rel="stylesheet" href="css/jquery.mobile-1.3.2.min.css" />
	
    <script type="text/javascript"  src="js/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="js/jquery.mobile-1.3.2.min.js"></script>
	<script type="text/javascript">
	$(document).ready(function(){
		
		$.mobile.ajaxEnabled=false;
		
	});
	
	</script>
	<style>
		.errors {
		background-color:#FFCCCC;
		border:1px solid #CC0000;
		width:400px;
		margin-bottom:8px;
	}
	.errors li{ 
		list-style: none; 
	}
			
	  .ui-page, .ui-mobile-viewport {
	background: url( css/images/tiling_stripes.gif);
}
h1{
margin-bottom: -1%;
margin-top: -0.5%;
}

	</style>
	
	
 </head>
 <body>
  <%
  HashMap dataMap =(HashMap) session.getAttribute("datamap");
  %>
  <div data-role="page" id="home">  
   <div data-position="fixed" data-role="header" data-theme="b">   
    <a href="menudisplay" data-role="buttun" data-icon="home">Menu</a>
    <h1>  
     New Credentials Entry Page
    </h1>  
   </div>  
   <div align="center" data-role="content">
   <h1>PARVATI SOLVENTS EXTRACTION PVT LTD</h1>
			<h3>GUT NO.76, KHADGAON,TALUKA: BADNAPUR,DISTRICT:JALNA-431203,MAHARASHTRA,INDIA</h3>
   
   <form action="SaveCredentials" method="POST">
    <div id="newCredentialDivId">
		 	<s:if test="hasActionErrors()">
   			<div class="errors">
      			<s:actionerror/>
   			</div>
			</s:if>
		 
		 <div data-role="fieldcontain" style="width: 50%;">  
		<label for="newUsername"><b>New Username:</b></label>  
		<input class="" id="orgUsername" name="originaluser" type="hidden" value = "<%=dataMap.get("username") %>"/>
		<input class="" id="newUsername" name="newuser" type="text" value = "<%=dataMap.get("username") %>"  required/>  
     </div>
     <div data-role="fieldcontain" style="width: 50%;">
		<label for="newPassword"><b>New Password:</b></label>  
		<input id="newPassword" name="newpass" type="password" value="" required/> 
     </div>
	 <div data-role="fieldcontain" style="width: 50%;">
		<label for="confirmNewPassword"><b>Confirm Password:</b></label>  
		<input id="confirmNewPassword" name="confpass" type="password" value="" required/> 
     </div>
	 <div data-role="fieldcontain" style="width: 35%;">
	  <div id="changeNewCredentialsButtonDivId">
       <button id="changeNewCredentialsButtonId"  data-theme="a" type="submit">Change Credentials</button>
      </div> 
	  </div>	
    </div>
    
   </form>
   
  
  </div>
  </div>
    </body>
</html>